export {}
// 联合类型

// 数组里既有数字又有字符串
let arr: (number | string)[] = [1,'a',43,'b']
// 数字类型和 字符串数组
let arr1: number | string[] = ['sdfsd']

let timer: null | number = null

timer = setInterval(() => {}, 1000)